package com.ruoyi.business.common.riskRule;

import com.ruoyi.business.Vo.RulePremiseVo;

/**
 * @author cyh
 */
public interface RuleStrategy {

    String LOAN = "loan";
    String CREDIT = "apply";
    String REPLENISH = "replenish";


    String getType();

    int applyInfoExpire(String fingerprint, String custNo,String excludeSerialNo);

    /**
     * 设备指纹是否一致
     * @param currentFingerprint
     * @param excludeSerialNo
     * @param custNo
     * @return
     */
    boolean fingerprintsSame(Object currentFingerprint,String excludeSerialNo,String custNo);

    void rulePremise(RulePremiseService rulePremiseService, RulePremiseVo rulePremiseVo, String... columnK);

    void rulePremiseV228(RulePremiseService rulePremiseService, RulePremiseVo rulePremiseVo);

    void passToRisk(RulePremiseVo rulePremiseVo);

}
